function setData(table, dataXML){
	var tr = table.insertRow(0);
  	
  	var th = document.createElement("th");
  	var th_text = document.createTextNode('#');
  	th.appendChild(th_text); 
  	th.className = "text mini"; 
  	th.style.fontWeight = "bold";
  	th.style.width = "25px";
  	th.align = "center";
  	tr.appendChild(th);

  	th = document.createElement("th");
  	th_text = document.createTextNode('SPIELER');
  	th.appendChild(th_text); th.className = "text mini"; th.style.fontWeight = "bold";
  	th.align = "left";tr.appendChild(th);
  	
  	th = document.createElement("th");
  	th_text = document.createTextNode('SPIELE');
  	th.appendChild(th_text); th.className = "text mini"; th.style.fontWeight = "bold"; 
  	th.align = "center"; tr.appendChild(th);

  	th = document.createElement("th");
  	th_text = document.createTextNode('PKT');
  	th.appendChild(th_text);
  	th.className = "text mini"; th.style.fontWeight = "bold"; 
  	th.align = "center"; tr.appendChild(th);
  	
  	th = document.createElement("th");
  	th_text = document.createTextNode('PKT/SP');
  	th.appendChild(th_text); 
  	th.className = "text mini"; th.style.fontWeight = "bold";
  	th.align = "center"; tr.appendChild(th);  

  	th = document.createElement("th");
  	th_text = document.createTextNode('FW');
  	th.appendChild(th_text); 
  	th.className = "text mini"; th.style.fontWeight = "bold";
  	th.align = "center"; tr.appendChild(th);  

  	th = document.createElement("th");
  	th_text = document.createTextNode('%');
  	th.appendChild(th_text); 
  	th.className = "text mini"; th.style.fontWeight = "bold";
  	th.align = "center"; tr.appendChild(th);  

  	th = document.createElement("th");
  	th_text = document.createTextNode('\u00A0');
  	th.appendChild(th_text); 
  	th.className = "text mini"; th.style.fontWeight = "bold";
  	th.align = "center"; tr.appendChild(th);  


  	th = document.createElement("th");
  	th_text = document.createTextNode('2ER');
  	th.appendChild(th_text); 
  	th.className = "text mini"; th.style.fontWeight = "bold";
  	th.align = "center"; tr.appendChild(th);  

  	th = document.createElement("th");
  	th_text = document.createTextNode('2ER/SP');
  	th.appendChild(th_text); 
  	th.className = "text mini"; th.style.fontWeight = "bold";
  	th.align = "center"; tr.appendChild(th);  
  	
  	th = document.createElement("th");
  	th_text = document.createTextNode('\u00A0');
  	th.appendChild(th_text); 
  	th.className = "text mini"; th.style.fontWeight = "bold";
  	th.align = "center"; tr.appendChild(th);  

  	th = document.createElement("th");
  	th_text = document.createTextNode('3ER');
  	th.appendChild(th_text); 
  	th.className = "text mini"; th.style.fontWeight = "bold";
  	th.align = "center"; tr.appendChild(th);  
  	
  	th = document.createElement("th");
  	th_text = document.createTextNode('3ER/SP');
  	th.appendChild(th_text); 
  	th.className = "text mini"; th.style.fontWeight = "bold";
  	th.align = "center"; tr.appendChild(th);  
  	
  	th = document.createElement("th");
  	th_text = document.createTextNode('FLS');
  	th.appendChild(th_text); 
  	th.className = "text mini"; th.style.fontWeight = "bold";
  	th.align = "center"; tr.appendChild(th);  
  	
  	th = document.createElement("th");
  	th_text = document.createTextNode('FLS/SP');
  	th.appendChild(th_text); 
  	th.className = "text mini"; th.style.fontWeight = "bold";
  	th.align = "center"; tr.appendChild(th);  
  		
  	var tableData = dataXML.getElementsByTagName("spieler");
   	for (var i=1; i<=tableData.length; i++){
		tr = table.insertRow(i);
  		
  		spiel = new Array();
  		// werte laden
  		spiel[0] = tableData[i-1].getElementsByTagName("trikot")[0].childNodes[0].nodeValue;
  		spiel[1] = tableData[i-1].getElementsByTagName("name")[0].childNodes[0].nodeValue;
  		spiel[2] = tableData[i-1].getElementsByTagName("spiele")[0].childNodes[0].nodeValue;
  		spiel[3] = tableData[i-1].getElementsByTagName("pkt")[0].childNodes[0].nodeValue;
  		spiel[4] = tableData[i-1].getElementsByTagName("pktPspiel")[0].childNodes[0].nodeValue;
  		fw = tableData[i-1].getElementsByTagName("fw")[0].childNodes[0].nodeValue;
  		fwa = tableData[i-1].getElementsByTagName("fwa")[0].childNodes[0].nodeValue;
		spiel[5] = fw + "/" + fwa;
  		spiel[6] = tableData[i-1].getElementsByTagName("fwp")[0].childNodes[0].nodeValue;
  		spiel[7] = '\u00A0';
  		spiel[8] = tableData[i-1].getElementsByTagName("fg")[0].childNodes[0].nodeValue;
  		spiel[9] = tableData[i-1].getElementsByTagName("fgg")[0].childNodes[0].nodeValue;
  		spiel[10] = '\u00A0';
  		spiel[11] = tableData[i-1].getElementsByTagName("tp")[0].childNodes[0].nodeValue;
  		spiel[12] = tableData[i-1].getElementsByTagName("tpg")[0].childNodes[0].nodeValue;
  		spiel[13] = tableData[i-1].getElementsByTagName("fls")[0].childNodes[0].nodeValue;
  		spiel[14] = tableData[i-1].getElementsByTagName("flsg")[0].childNodes[0].nodeValue;
		  		  		
  		for (var j = 0; j < 15; j++){
  			var td = document.createElement("td");
  			var td_text = document.createTextNode(spiel[j]);
  			td.appendChild(td_text);
  			td.className = "text";
  			if (j != 1){
  				td.align = "center";
  			}
  			tr.appendChild(td);
  		}
  	}
}